<div class="contextual">
  <%%= link_to t('helpers.links.edit'), edit_admin_<%= singular_name %>_path(@<%= singular_name %>), :class => 'icon icon-edit' %>
  <%%= link_to t('helpers.links.destroy'), [:admin, @<%= singular_name %>], :confirm => t('helpers.links.confirm'), :method => :delete, :class => 'icon icon-del' %>
</div>

<h2><%= singular_name.humanize %> <%%= @<%= singular_name %>.id %></h2>

<div class="box">
<% for attribute in attributes -%>
  <p>
    <b><%= attribute.human_name %>:</b>
    <%%=h @<%= singular_name %>.<%= attribute.name %> %>
  </p>
<% end -%>
</div>

<%%= link_to t('helpers.links.edit'), edit_admin_<%= singular_name %>_path(@<%= singular_name %>) %> |
<%%= link_to t('helpers.links.back'), admin_<%= plural_name %>_path %>
